/**
 * Copyright (c) 2010-2020 by skzr.org
 * All rights reserved.
 * @Author <a href="mailto:skzr.org@gmail.com">skzr.org</a>
 * @date 2011-3-14 下午09:19:40
 */
package org.skzr.logging.impl; // NOPMD by skzrorg on 11-3-15 下午12:43

import org.slf4j.Logger;
import org.slf4j.Marker;

/**
 * @author <a href="mailto:skzr.org@gmail.com">skzr.org</a>
 * @version 1.0.0
 * @since JDK1.6
 */
public class SLF4JLogger extends AbstractLocalLogger<Logger> { // NOPMD by skzrorg on 11-3-15 下午12:42

	public SLF4JLogger(Logger logger, MessageConveyor messageConveyor) {
		super(logger, messageConveyor);
	}
	
	@Override
	public void debug(Marker marker, String msg) {
		if (logger.isDebugEnabled()) logger.debug(marker, msg);
	}

	@Override
	public void debug(Marker marker, String format, Object arg) {
		if (logger.isDebugEnabled()) logger.debug(marker, format, arg);
	}

	@Override
	public void debug(Marker marker, String format, Object arg1, Object arg2) {
		if (logger.isDebugEnabled()) logger.debug(marker, format, arg1, arg2);
	}

	@Override
	public void debug(Marker marker, String format, Object[] argArray) {
		if (logger.isDebugEnabled()) logger.debug(marker, format, argArray);
	}

	@Override
	public void debug(Marker marker, String msg, Throwable throwable) {
		if (logger.isDebugEnabled()) logger.debug(marker, msg, throwable);
	}

	@Override
	public void debug(String msg) {
		if (logger.isDebugEnabled()) logger.debug(msg);
	}

	@Override
	public void debug(String format, Object arg) {
		if (logger.isDebugEnabled()) logger.debug(format, arg);
	}

	@Override
	public void debug(String format, Object arg1, Object arg2) {
		if (logger.isDebugEnabled()) logger.debug(format, arg1, arg2);
	}

	@Override
	public void debug(String format, Object[] argArray) {
		if (logger.isDebugEnabled()) logger.debug(format, argArray);
	}

	@Override
	public void debug(String msg, Throwable throwable) {
		if (logger.isDebugEnabled()) logger.debug(msg, throwable);
	}

	@Override
	public void error(Marker marker, String msg) {
		if (logger.isErrorEnabled()) logger.error(marker, msg);
	}

	@Override
	public void error(Marker marker, String format, Object arg) {
		if (logger.isErrorEnabled()) logger.error(marker, format, arg);
	}

	@Override
	public void error(Marker marker, String format, Object arg1, Object arg2) {
		if (logger.isErrorEnabled()) logger.error(marker, format, arg1, arg2);
	}

	@Override
	public void error(Marker marker, String format, Object[] argArray) {
		if (logger.isErrorEnabled()) logger.error(marker, format, argArray);
	}

	@Override
	public void error(Marker marker, String msg, Throwable throwable) {
		if (logger.isErrorEnabled()) logger.error(marker, msg, throwable);
	}

	@Override
	public void error(String msg) {
		if (logger.isErrorEnabled()) logger.error(msg);
	}

	@Override
	public void error(String format, Object arg) {
		if (logger.isErrorEnabled()) logger.error(format, arg);
	}

	@Override
	public void error(String format, Object arg1, Object arg2) {
		if (logger.isErrorEnabled()) logger.error(format, arg1, arg2);
	}

	@Override
	public void error(String format, Object[] argArray) {
		if (logger.isErrorEnabled()) logger.error(format, argArray);
	}

	@Override
	public void error(String msg, Throwable throwable) {
		if (logger.isErrorEnabled()) logger.error(msg, throwable);
	}

	@Override
	public void info(Marker marker, String msg) {
		if (logger.isInfoEnabled()) logger.info(marker, msg);
	}

	@Override
	public void info(Marker marker, String format, Object arg) {
		if (logger.isInfoEnabled()) logger.info(marker, format, arg);
	}

	@Override
	public void info(Marker marker, String format, Object arg1, Object arg2) {
		if (logger.isInfoEnabled()) logger.info(marker, format, arg1, arg2);
	}

	@Override
	public void info(Marker marker, String format, Object[] argArray) {
		if (logger.isInfoEnabled()) logger.info(marker, format, argArray);
	}

	@Override
	public void info(Marker marker, String msg, Throwable throwable) {
		if (logger.isInfoEnabled()) logger.info(marker, msg, throwable);
	}

	@Override
	public void info(String msg) {
		if (logger.isInfoEnabled()) logger.info(msg);
	}

	@Override
	public void info(String format, Object arg) {
		if (logger.isInfoEnabled()) logger.info(format, arg);
	}

	@Override
	public void info(String format, Object arg1, Object arg2) {
		if (logger.isInfoEnabled()) logger.info(format, arg1, arg2);
	}

	@Override
	public void info(String format, Object[] argArray) {
		if (logger.isInfoEnabled()) logger.info(format, argArray);
	}

	@Override
	public void info(String msg, Throwable throwable) {
		if (logger.isInfoEnabled()) logger.info(msg, throwable);
	}

	@Override
	public void trace(Marker marker, String msg) {
		if (logger.isTraceEnabled()) logger.trace(marker, msg);
	}

	@Override
	public void trace(Marker marker, String format, Object arg) {
		if (logger.isTraceEnabled()) logger.trace(marker, format, arg);
	}

	@Override
	public void trace(Marker marker, String format, Object arg1, Object arg2) {
		if (logger.isTraceEnabled()) logger.trace(marker, format, arg1, arg2);
	}

	@Override
	public void trace(Marker marker, String format, Object[] argArray) {
		if (logger.isTraceEnabled()) logger.trace(marker, format, argArray);
	}

	@Override
	public void trace(Marker marker, String msg, Throwable throwable) {
		if (logger.isTraceEnabled()) logger.trace(marker, msg, throwable);
	}

	@Override
	public void trace(String msg) {
		if (logger.isTraceEnabled()) logger.trace(msg);
	}

	@Override
	public void trace(String format, Object arg) {
		if (logger.isTraceEnabled()) logger.trace(format, arg);
	}

	@Override
	public void trace(String format, Object arg1, Object arg2) {
		if (logger.isTraceEnabled()) logger.trace(format, arg1, arg2);
	}

	@Override
	public void trace(String format, Object[] argArray) {
		if (logger.isTraceEnabled()) logger.trace(format, argArray);
	}

	@Override
	public void trace(String msg, Throwable throwable) {
		if (logger.isTraceEnabled()) logger.trace(msg, throwable);
	}

	@Override
	public void warn(Marker marker, String msg) {
		if (logger.isWarnEnabled()) logger.warn(marker, msg);
	}

	@Override
	public void warn(Marker marker, String format, Object arg) {
		if (logger.isWarnEnabled()) logger.warn(marker, format, arg);
	}

	@Override
	public void warn(Marker marker, String format, Object arg1, Object arg2) {
		if (logger.isWarnEnabled()) logger.warn(marker, format, arg1, arg2);
	}

	@Override
	public void warn(Marker marker, String format, Object[] argArray) {
		if (logger.isWarnEnabled()) logger.warn(marker, format, argArray);
	}

	@Override
	public void warn(Marker marker, String msg, Throwable throwable) {
		if (logger.isWarnEnabled()) logger.warn(marker, msg, throwable);
	}

	@Override
	public void warn(String msg) {
		if (logger.isWarnEnabled()) logger.warn(msg);
	}

	@Override
	public void warn(String format, Object arg) {
		if (logger.isWarnEnabled()) logger.warn(format, arg);
	}

	@Override
	public void warn(String format, Object arg1, Object arg2) {
		if (logger.isWarnEnabled()) logger.warn(format, arg1, arg2);
	}

	@Override
	public void warn(String format, Object[] argArray) {
		if (logger.isWarnEnabled()) logger.warn(format, argArray);
	}

	@Override
	public void warn(String msg, Throwable throwable) {
		if (logger.isWarnEnabled()) logger.warn(msg, throwable);
	}

	@Override
	public void trace(Enum<?> key, Object... args) {
		if (logger.isTraceEnabled()) logger.trace(getMessage(key, args), args);
	}

	@Override
	public void debug(Enum<?> key, Object... args) {
		if (logger.isDebugEnabled()) logger.debug(getMessage(key, args), args);
	}

	@Override
	public void info(Enum<?> key, Object... args) {
		if (logger.isInfoEnabled()) logger.info(getMessage(key, args), args);
	}

	@Override
	public void warn(Enum<?> key, Object... args) {
		if (logger.isWarnEnabled()) logger.warn(getMessage(key, args), args);
	}

	@Override
	public void error(Enum<?> key, Object... args) {
		if (logger.isErrorEnabled()) logger.error(getMessage(key, args), args);
	}

}
